home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Experimental BBS Explossion 3
/
Experimental BBS Explossion III.iso
/
c
/
pcw.zip
/
PCW.I
< prev
next >
Wrap
Text File
|
1991-12-21
|
3KB
|
73 lines
/*$no list *//* $no trace <<<pcw.i>>> */
/**********************************************************/
/* File Id. Pcw.I. */
/* */
/* (c) Copyright 1989-90 by Stan Milam */
/* */
/* Comments: This is the view the internal window soft- */
/* ware has of a window. Memory for this structure is */
/* "malloced" with every wpush(), wframe(), & wexplode(). */
/**********************************************************/
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __POWERC
# pragma pack(1)
# ifdef __ZTC__
# pragma ZTC align 1
# endif
#endif
#ifdef WNDPTR
# undef WNDPTR
#endif
/* The main window structure */
typedef struct wndptr {
char far *wbuffer; /* Buffer for saved screen */
char far *wsave; /* Buffer for saved window */
int urow; /* Upper row of window */
int ucol; /* Upper col of window */
int lrow; /* Lower row of window */
int lcol; /* Lower col of window */
int hideflag; /* Indicate if window hidden */
int page; /* Page the window is in */
int attr;
/* char attr;*/ /* Window color when framing */
int level; /* Window position in list */
struct wndptr *next; /* Point to window after */
struct wndptr *back; /* Point to window before */
} wnd_pointer_handle;
#define WNDPTR wnd_pointer_handle
/* Tscrn.Asm Assembler Routines */
void far Tputs (int far *scrnptr, char far *strptr, int attr);
void far Tvputs(int far *scrnptr, char far *strptr, int attr);
void far Tputchar(int far *scrnptr, int attrchar);
void far SaveScrn(int rows, int cols, int far *scrnptr, char far *ptr);
void far RestoreScrn(int rows, int cols, int far *scrnptr, char far *ptr);
void far TextFill(int rows, int cols, int far *scrnptr, int attrchar);
void far Tvertchar(int count, int charattr, int far *scrnptr);
void far Thorzchar(int count, int charattr, int far *scrnptr);
void far Tchg_Attr(int far *scrnptr, int count, int attr);
void far Tscroll(int far *srce,int far *dest,int rows,int cols,int dir);
#ifdef __POWERC
void crt_lock( void );
void crt_unlock( void );
#endif /* Power C */
#ifndef __POWERC
# pragma pack()
# ifdef __ZTC__
# pragma ZTC align
# endif
#endif
#ifdef __cplusplus
}
#endif
/*$list *//*$trace <<<pcw.i>>> */